/*
 * MIT License
 *
 * Copyright (c) 2023 北京凯特伟业科技有限公司
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
package com.je.message.vo;


public class WxMsgVo {

    /**
     * 接受用户 如果值为@all 则发送给全部的人
     */
    private String userIds;
    /**
     * 消息类型    文字：WZ  图文：TW 图片：TP 语音：YY 视频：SP 文件：WJ
     */
    private String type;
    /**
     * 图文类型  UEditor 编辑器内容 || HTML || URL 链接
     */
    private String twType;
    /**
     * 标题
     */
    private String title;
    /**
     * 标题
     */
    private String author;
    /**
     * 作者
     */
    private String remark;
    /**
     * 内容
     */
    private String context;
    /**
     * 附件地址
     */
    private String fileKey;
    /**
     * 集团公司ID
     */
    private String jtgsId;
    /**
     * 链接
     */
    private String url;
    /**
     * 原文链接地址
     */
    private String sourceUrl;

    public WxMsgVo() {
    }

    public WxMsgVo(String userIds, String type, String context) {
        this.userIds = userIds;
        this.type = type;
        this.context = context;
    }

    public WxMsgVo(String userIds, String type, String context, String fileKey) {
        this.userIds = userIds;
        this.type = type;
        this.context = context;
        this.fileKey = fileKey;
    }

    public WxMsgVo(String userIds, String type, String twType, String title,
                   String author, String remark, String context, String fileKey) {
        super();
        this.userIds = userIds;
        this.type = type;
        this.twType = twType;
        this.title = title;
        this.author = author;
        this.remark = remark;
        this.context = context;
        this.fileKey = fileKey;
    }

    public String getUserIds() {
        return userIds;
    }

    public void setUserIds(String userIds) {
        this.userIds = userIds;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public String getJtgsId() {
        return jtgsId;
    }

    public void setJtgsId(String jtgsId) {
        this.jtgsId = jtgsId;
    }

    public String getFileKey() {
        return fileKey;
    }

    public void setFileKey(String fileKey) {
        this.fileKey = fileKey;
    }

    public String getTwType() {
        return twType;
    }

    public void setTwType(String twType) {
        this.twType = twType;
    }

    public String getSourceUrl() {
        return sourceUrl;
    }

    public void setSourceUrl(String sourceUrl) {
        this.sourceUrl = sourceUrl;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }


}
